<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class UsersFriends extends  Model
{
    use HasFactory;
    use SoftDeletes;

    protected $table = 'users_friends';

    static $unguarded = true;




    public  function friendsList(): \Illuminate\Database\Eloquent\Relations\HasOne
    {

        return $this->hasOne(Users::class,'id','friends_id');
    }

}
